//
//  UIButton+SSImagePosition.h
//  starspaceVR
//
//  Created by 曹端芹 on 17/10/10.
//  Copyright © 2017年 starspace. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, SSImagePosition){
    SSImagePositionLeft = 0, //图片在左，文字在右，默认
    SSImagePositionRight = 1, //图片在右，文字在左
    SSImagePositionTop = 2, //图片在上，文字在下
    SSImagePositionBottom = 3, //图片在下，文字在上

};

@interface UIButton (SSImagePosition)

- (void)setImagePosition:(SSImagePosition)position spacing:(CGFloat)spacing;

@end
